package com.yzy.fly.mapper;

import com.yzy.fly.entity.role.FlyView;
import com.yzy.fly.kernel.mapper.FlyBasicMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.Collection;
import java.util.List;

@Mapper
public interface FlyViewMapper extends FlyBasicMapper<FlyView> {

    @Select("select * from fly_view a where 1=1 ")
    List<FlyView> selectAllList();

    /**
     * 批量插入（mysql）
     * @param entityList
     * @return
     */
    Integer insertBatchSomeColumn(Collection<FlyView> entityList);
}
